Ensuring Termination by Typability
نویسندگان
چکیده
A term terminates if all its reduction sequences are of finite length. Weshow four type systems that ensure termination of well-typed π-calculus processes.The systems are obtained by successive refinements of the types of the simply typedπ-calculus. For all (but one of) the type systems we also present upper bounds to thenumber of steps well-typed processes take to terminate. The termination proofs usetechniques from term rewriting systems.We show the usefulness of the type systems on some non-trivial examples: the encodingsof primitive recursive functions, the protocol for encoding separate choice in terms ofparallel composition, a symbol table implemented as a dynamic chain of cells.
منابع مشابه
Effect of incubation temperature on T-agglutination typing of Streptococcus pyogenes.
The temperature of incubation affected the typability of beta-hemolytic group A streptococci by T-agglutination tests. When strains could not be typed after routine incubation at 30 C, they were incubated at 22 to 25 C, and nearly a 10% increase in typability was achieved. The clinical source of the strains was related to their typability. Incubation at the lower temperature was required for su...
متن کاملTypability is Undecidable for F+Eta
System F is the well-known polymorphically-typed -calculus with universal quanti ers (\8"). F+ is System F extended with the eta rule, which says that if termM can be given type and M -reduces to N , then N can also be given the type . Adding the eta rule to System F is equivalent to adding the subsumption rule using the subtyping (\containment") relation that Mitchell de ned and axiomatized [M...
متن کاملTypability and Type Checking in the Second-Order -Calculus Are Equivalent and Undecidable
Girard and Reynolds independently invented the second-order polymorphically typed lambda calculus, known as System F, to handle problems in logic and computer programming language design, respectively. Viewing F in the Curry style, which associates types with untyped lambda terms, raises the questions of typability and type checking. Typability asks for a term whether there exists some type it ...
متن کاملType checking and typability in domain-free lambda calculi
This paper shows (1) the undecidability of the type checking and the typability problems in the domain-free lambda calculus with negation, product, and existential types, (2) the undecidability of the typability problem in the domain-free polymorphic lambda calculus, and (3) the undecidability of the type checking and the typability problems in the domain-free lambda calculus with function and ...
متن کاملThe correctness of Newman's typability algorithm and some of its extensions
We study Newman’s typability algorithm [14] for simple type theory. The algorithm originates from 1943, but was left unnoticed until [14] was recently rediscovered by Hindley [10]. The remarkable thing is that it decides typability without computing a type. We give a modern presentation of the algorithm (also a graphical one), prove its correctness and show that it implicitly does compute the p...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Comput.
دوره 204 شماره
صفحات -
تاریخ انتشار 2004